package com.google.sky.dto;

/**
 * Created with IntelliJ IDEA.
 * User: Yuri
 * Date: 17.11.14
 * Time: 23:47
 * To change this template use File | Settings | File Templates.
 */
public class CellState {
    private int x;
    private int y;
    private String mark;

    public int getX() {
        return x;
    }

    public void setX(int x) {
        this.x = x;
    }

    public int getY() {
        return y;
    }

    public void setY(int y) {
        this.y = y;
    }

    public String getMark() {
        return mark;
    }

    public void setMark(String mark) {
        this.mark = mark;
    }

    public static CellState create(int x, int y, String mark){
        CellState res = new CellState();
        res.setX(x);
        res.setY(y);
        res.setMark(mark);
        return res;
    }
}
